package com.zzyl.nursing.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@ApiModel("分页查询报警数据参数")
public class NursingAlertDataListDto {
    @ApiModelProperty("页码")
    private Integer pageNum;
    @ApiModelProperty("每页数量")
    private Integer pageSize;
    @ApiModelProperty("设备名称")
    private String deviceName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("开始报警时间")
    private LocalDateTime startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("结束报警时间")
    private LocalDateTime endTime;
    @ApiModelProperty("报警状态：0：待处理，1：已处理")
    private Integer status;
}
